package smallChanges.statements;

import java.io.Reader;
import java.util.List;

public class StatementMapping {

	/* public interface to this object.
	 * Use this method to produce a mapping for the given block
	 * of statements
	 * 
	 * Return to the user:
	 * STID_LEFT STID_RIGHT	normEditDist normTokEditDist Crossings Status
	 * 
	 * Status needs to be an enum
	 */
	public StatementMappingResultSet runStatementMapping(Reader fileOne, Reader fileTwo)
	{
		StatementMappingResultSet results= new StatementMappingResultSet();
		
		// order methods
		// diff methods
		// run mapStatements on diff chunks
		
		return results;
	}
	
	private void mapStatements(List statementsLeft, List statementsRight)
	{
		//build token strings, one per line
		//find edit dist
		
		//replace tokens w/single char
		//find edit dist
		
		//if ned is too high, check nted?
		
	}

}
